package com.winit;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableScheduling
@SpringBootApplication(scanBasePackages = "com.winit")
@ServletComponentScan
@MapperScan("com.winit.*.mapper")
@EnableCaching
public class WebClientApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(WebClientApplication.class, args);
    }

}
